﻿/**************************************************************
 * Copyright gt1987. All rights reserved.
 * 
 * Author: guitao(guitao@eastmoney.com) 
 * Create Date: 2020/4/14 14:32:44
 * Description: IPhoneValidator
 *          
 * Revision History:
 *      Date         Author               Description
 *              
***************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace gt.ShortMessage.Services.Validators
{
    public interface IPhoneValidator
    {
        /// <summary>
        /// 验证
        /// </summary>
        /// <param name="phone">手机号</param>
        /// <returns></returns>
        bool Validate(string phone);
        /// <summary>
        /// 数据统计
        /// </summary>
        /// <param name="phone">手机号</param>
        void Statistics(string phone);
    }
}
